<template>
    <div>
<van-search
  v-model="value"
  shape="round"
  background="#eb4450"
  placeholder="请输入搜索关键词"
  @click="pushsearch"
/>

    </div>
</template>

<script setup>
import {useRouter} from 'vue-router'
const router=new useRouter()
const pushsearch=()=>{
    router.push('/search')
}
</script>

<style lang="scss" scoped>

</style>